/*
 * Piece.h
 *
 *  Created on: 12.10.2010
 *      Author: jilly
 */

#ifndef PIECE_H_
#define PIECE_H_

using namespace std;

/**
 * class represents chess piece
 */
class Piece
{
private:
	/** x position of piece */
	unsigned int x;
	/** y position of piece */
	unsigned int y;
public:
    /** initializes piece to position [x,y] */
	Piece(unsigned int x, unsigned int y);
	/** returns x position of piece */
    unsigned int getX() const;
    /** returns y position of piece */
    unsigned int getY() const;
    /** moves piece to position [x,y] */
    void moveTo(unsigned int x, unsigned int y);
};

#endif /* PIECE_H_ */
